package com.zx.dao;

import com.zx.common.BrandCategory;
import com.zx.common.GoodsCategory;
import com.zx.entity.EcommerceGoods;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Author:JasonZ
 * Data:2023/4/19
 */
public interface ECommerceGoodsDao extends JpaRepository<EcommerceGoods,Long> {
    /*根据商品id 品牌id 商品名查询*/
    EcommerceGoods findFirstByGoodsCategoryAndBrandCategoryAndGoodsName(GoodsCategory goodsCategory, BrandCategory brandCategory, String goodsName);
}
